Skip to content

Potential fix for code scanning alert no. 3: Workflow does not contain permissions - #21

Merged
korewaChino merged 1 commit into
mainfrom
alert-autofix-3
Apr 17, 2026
Merged

Potential fix for code scanning alert no. 3: Workflow does not contain permissions#21
korewaChino merged 1 commit into
mainfrom
alert-autofix-3

Conversation

@korewaChino

Copy link
Copy Markdown
Collaborator

Potential fix for https://github.com/FyraStack/odorobo/security/code-scanning/3

Add an explicit permissions block to .github/workflows/build_riscv_rva23.yml at the workflow root (best here since there is only one job and all current steps can share the same baseline).
Use:

  • contents: read (recommended minimum for checkout/repo read access)
  • actions: read (safe for action metadata access; optional but commonly included)

No new imports, methods, or dependencies are needed.
Edit region: directly after the on: trigger block and before env:.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@korewaChino
korewaChino marked this pull request as ready for review April 17, 2026 18:26
@korewaChino
korewaChino merged commit 5de4058 into main Apr 17, 2026
12 checks passed
@halfcyan
halfcyan deleted the alert-autofix-3 branch July 10, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant